Using Microsoft WinDbg

Microsoft WinDbg is a kernel debugger with a graphical user interface that is part of the Debugging Tools for Windows toolkit. You can configure WinDbg to attach to a remote target running an RTSS process or to work with RTX extended minidump files during postmortem debugging.

Host and Target Machines

Two machines are required for remote debugging with WinDbg. One machine runs the debugger software and the other executes the processes to be debugged. The machines are connected with a serial, USB, or IEEE 1394 (Firewire) cable. If you are using a USB cable, you must plug the cable into port 0 on both the host and the target machines.

Supported for Shared Mode Only

Kernel debugging in WinDbg is supported for shared mode only. You cannot use this type of debugging on a system configured for dedicated mode.

Hardware and Software Requirements

You must use RTX 7.0 or later in order to use WinDbg. See the WinDbg documentation for additional hardware and software requirements for the host and target machines. You can download WinDbg and its documentation from this website:

http://www.microsoft.com/whdc/devtools/debugging/default.mspx

Debugging multiple processes

You can use WinDbg to debug multiple RTSS processes simultaneously and to debug RTSS processes that are linked with RTSS DLLs. For example, RT-TCP/IP applications are linked with the RTX TCP/IP library, which is implemented as a RTSS DLL.

Crashes with Disabled Kernel Debugger

If the Kernel Debugger is disabled and Windows crashes, WinDbg behaves incorrectly and does not provide the correct information.

 

See Also